<template>
    <el-form-item :label=label.name :prop=label.rules class="inputtaxt">
        <el-input v-model="name" :placeholder=msg></el-input>
    </el-form-item>
</template>

<script>
export default {
    props:{
        // name:String,
        label:Object,
    },
    data(){
        return{
            msg:"请输入"+this.label.name,
            name:'',
        }
    },
}
</script>

<style lang="scss" scoped>
    .inputtaxt{
        width: 520px;
        ::v-deep .el-form-item__label{
            // width: 120px !important;
            padding-right: 0px;
            // box-sizing: border-box;
        }
        ::v-deep .el-form-item__content{
            margin-left: 120px !important;
        }
        ::v-deep .el-input__inner{
            width: 400px;
        }
    }
</style>